package entity.salary;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author beisheng
 * @since 2023-03-26
 */
@Getter
@Setter
@TableName("sa_provident")
public class SaProvident implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "sa_id", type = IdType.AUTO)
    private Integer saId;

    /**
     * 员工ID
     */
    @TableField("acc_id")
    private Integer accId;

    //台账ID
    @TableField("account_id")
    private Integer accountId;

    /**
     * 社保基数
     */
    @TableField("social_security")
    private Double socialSecurity;

    /**
     * 公积金基数
     */
    @TableField("accum_security")
    private Double accumSecurity;

    /**
     * 养老保险企业金额
     */
    @TableField("endowment_my")
    private Double endowmentMy;

    /**
     * 养老保险个人金额
     */
    @TableField("endowment_them")
    private Double endowmentThem;

    /**
     * 医疗保险企业金额
     */
    @TableField("medical_my")
    private Double medicalMy;

    /**
     * 医疗保险个人金额
     */
    @TableField("medical_them")
    private Double medicalThem;

    /**
     * 失业保险企业金额
     */
    @TableField("unemployment_my")
    private Double unemploymentMy;

    /**
     * 失业保险个人金额
     */
    @TableField("unemployment_them")
    private Double unemploymentThem;

    /**
     * 工伤保险企业金额
     */
    @TableField("employment_my")
    private Double employmentMy;

    /**
     * 工伤保险个人金额
     */
    @TableField("employment_them")
    private Double employmentThem;

    /**
     * 生育保险企业金额
     */
    @TableField("maternity_my")
    private Double maternityMy;

    /**
     * 生育保险个人金额
     */
    @TableField("maternity_them")
    private Double maternityThem;

    /**
     * 公积金企业金额
     */
    @TableField("accum_my")
    private Double accumMy;

    /**
     * 公积金个人金额
     */
    @TableField("accum_them")
    private Double accumThem;

    /**
     * 个人社保合计
     */
    @TableField("social_myamount")
    private Double socialMyamount;

    /**
     * 公司社保合计
     */
    @TableField("social_themamount")
    private Double socialThemamount;

    /**
     * 个人公积金合计
     */
    @TableField("accum_myamount")
    private Double accumMyamount;

    /**
     * 个人公积金合计
     */
    @TableField("accum_themamount")
    private Double accumThemamount;

    /**
     * 社保合计
     */
    @TableField("social_amount")
    private Double socialAmount;

    /**
     * 公积金合计
     */
    @TableField("accum_amount")
    private Double accumAmount;

    /**
     * 缴纳合计
     */
    @TableField("total_amount")
    private Double totalAmount;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField("update_time")
    private Date updateTime;

    /**
     * 删除标识
     */
    @TableField("delete_flag")
    private Integer deleteFlag;


}
